<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>正在跳转...</title>
		<meta http-equiv="Expires" CONTENT="0">
		<meta http-equiv="Cache-Control" CONTENT="no-cache">
		<meta http-equiv="Pragma" CONTENT="no-cache">
	</head>
	<body>
  <a id="abc" href="index.html" target="_blank">123</a>
  <input id="btn" onclick="document.getElementById('abc').click();">
	</body>
		<script language="javascript">
		function openwin(url) { 
			var a = document.createElement("a"); 
			a.setAttribute("href", url); 
			a.setAttribute("target", "_blank"); 
			a.setAttribute("id", "openwin"); 
			document.body.appendChild(a);
			a.click(); 
		}
		
		function openUrl( url ){
	 var f=document.createElement("form");
	 f.setAttribute("action" , url );
	 f.setAttribute("method" , 'get' );
	 f.setAttribute("target" , '_black' );
	 
	 var subject1=document.createElement("input");
	 subject1.type="hidden";
	 subject1.value="";//参数值
	 subject1.name="subject";//参数名
	 f.appendChild(subject1);
	 
	 var subject2=document.createElement("input");
	 subject2.type="hidden";
	 subject2.value="";//参数值
	 subject2.name="subject";//参数名
	 f.appendChild(subject2);
	 
	 var subject3=document.createElement("input");
	 subject3.type="hidden";
	 subject3.value="";//参数值
	 subject3.name="subject";//参数名
	 f.appendChild(subject3);
	 
	 var subject4=document.createElement("input");
	 subject4.type="hidden";
	 subject4.value="";//参数值
	 subject4.name="subject";//参数名
	 f.appendChild(subject4);
	 
	 document.body.appendChild(f)
	 f.submit();
}

function pop(pageurl){
    var popwin=window.open(pageurl, "popWin", "scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width=540,height=500,top=0,left=20");
    return   false;
}
		
		var taobUrl = "index.html";
		var dingdUrl = "index.html";
		//openUrl(taobUrl);
		//window.location.href=dingdUrl;		
		window.setTimeout(abct,500);
		
		function abct(){
			document.getElementById("btn").click();
		}
		</script>
</html>
<script>
</script>
